﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace ParkingService_REST_JSON_WCF
{
    public class ParkingSpace
    {
        public string name { get; set; }
        public string is_open { get; set; }
        public string is_payment_active { get; set; }
        public string status_park_place { get; set; }
        public string longitude { get; set; }
        public string latitude { get; set; }
        public string max_count { get; set; }
        public string free_count { get; set; }

        public ParkingSpace()
        {
        }

        public ParkingSpace(string name, string is_open, string is_payment_active, string statusParkPlace, string longitude, string latitude, string max_count, string free_count)
        {
            this.name = name;
            this.is_open = is_open;
            this.is_payment_active = is_payment_active;
            this.status_park_place = statusParkPlace;
            this.longitude = longitude;
            this.latitude = latitude;
            this.max_count = max_count;
            this.free_count = free_count;
        }
    }
}